package com.maiji.cloud.mapper;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.maiji.cloud.entities.login.LabelMiddleFoodMaterial;

@Mapper
public interface LabelMiddleFoodMaterialMapper extends BaseMapper<LabelMiddleFoodMaterial> {

	/**
	 * 根据食材查询
	 * @param foodMaterialId
	 * @return
	 */
	List<LabelMiddleFoodMaterial> selectListByFoodMaterialId(@Param("foodMaterialId")String foodMaterialId);

	/**
	 * 获取食材id集合
	 * @param laybleId
	 * @return
	 */
	List<String> getFoodMaterialIdsByLableId(@Param("laybleId")String laybleId);

}
